<?php
$factory->define(App\Models\Lesson::class, function (Faker\Generator $faker) {
    static $level = 1;
    return [
        'name' => $faker->word,
        'description' => $faker->sentence,
        'course_id' => rand(1,3),
        'is_published' => 1,
        'word_count' => rand(10, 90),
        'knowledge_count' => rand(10, 20),
        'cover' => rand(1,5),
        'thumb_cover' => rand(1,5),
        'lexile' => $faker->word
    ];
});